package com.leeon.generics;


public class ComparablePet implements Comparable<ComparablePet>{

	@Override
	public int compareTo(ComparablePet o) {
		return 0;
	}

}

/*class Cat extends ComparablePet implements Comparable<Cat>{
	
}*/

class Hamster extends ComparablePet implements Comparable<ComparablePet>{
	
}

class Gecko extends ComparablePet{

	@Override
	public int compareTo(ComparablePet o) {
		return super.compareTo(o);
	}
	
	
}
